home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.cs.arizona.edu
/
ftp.cs.arizona.edu.tar
/
ftp.cs.arizona.edu
/
icon
/
newsgrp
/
group98a.txt
/
000141_icon-group-sender _Tue Mar 17 08:04:06 1998.msg
< prev
next >
Wrap
Internet Message Format
|
2000-09-20
|
1KB
Return-Path: <icon-group-sender>
Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
by baskerville.CS.Arizona.EDU (8.8.7/8.8.7) with SMTP id IAA28479
for <icon-group-addresses@baskerville.CS.Arizona.EDU>; Tue, 17 Mar 1998 08:04:06 -0700 (MST)
Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
id AA21124; Tue, 17 Mar 1998 08:04:05 -0700
Date: Mon, 16 Mar 98 18:46:30 -0500
Message-Id: <9803162346.AA0130@valinet.com>
From: Paul Abrahams <abrahams@acm.org>
To: icon-group@optima.CS.Arizona.EDU
Subject: Re: Letter Probabilities
Reply-To: abrahams@acm.org
Errors-To: icon-group-errors@optima.CS.Arizona.EDU
Status: RO
Content-Length: 417
Using the probabilities to construct a weighted string and then
selecting a random character from the string does have one unaesthetic
property, in my book: the length of the string grows exponentially with
the precision of the probabilities. For that reason I'd opt for a
binary search, which takes 5 probes no matter what the precision.
I wonder if there's another way of attacking this problem.
Paul Abrahams